how to download file from url using c#

69

how to download file from url using c# -

using (var client = new WebClient())
{
    client.DownloadFile("http://example.com/file/song/a.mpeg", "a.mpeg");
}

Comments

Submit
0 Comments